<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewMember1Title}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewMember1Label_userID}"/>
                    <h:outputText value="#{member1Controller.selected.userID}" title="#{bundle.ViewMember1Title_userID}"/>
                    <h:outputText value="#{bundle.ViewMember1Label_fullName}"/>
                    <h:outputText value="#{member1Controller.selected.fullName}" title="#{bundle.ViewMember1Title_fullName}"/>
                    <h:outputText value="#{bundle.ViewMember1Label_email}"/>
                    <h:outputText value="#{member1Controller.selected.email}" title="#{bundle.ViewMember1Title_email}"/>
                    <h:outputText value="#{bundle.ViewMember1Label_password}"/>
                    <h:outputText value="#{member1Controller.selected.password}" title="#{bundle.ViewMember1Title_password}"/>
                    <h:outputText value="#{bundle.ViewMember1Label_birthday}"/>
                    <h:outputText value="#{member1Controller.selected.birthday}" title="#{bundle.ViewMember1Title_birthday}"/>
                    <h:outputText value="#{bundle.ViewMember1Label_sex}"/>
                    <h:outputText value="#{member1Controller.selected.sex}" title="#{bundle.ViewMember1Title_sex}"/>
                    <h:outputText value="#{bundle.ViewMember1Label_mobileNo}"/>
                    <h:outputText value="#{member1Controller.selected.mobileNo}" title="#{bundle.ViewMember1Title_mobileNo}"/>
                    <h:outputText value="#{bundle.ViewMember1Label_address}"/>
                    <h:outputText value="#{member1Controller.selected.address}" title="#{bundle.ViewMember1Title_address}"/>
                    <h:outputText value="#{bundle.ViewMember1Label_isActive}"/>
                    <h:outputText value="#{member1Controller.selected.isActive}" title="#{bundle.ViewMember1Title_isActive}"/>
                    <h:outputText value="#{bundle.ViewMember1Label_dateCreated}"/>
                    <h:outputText value="#{member1Controller.selected.dateCreated}" title="#{bundle.ViewMember1Title_dateCreated}"/>
                    <h:outputText value="#{bundle.ViewMember1Label_roleID}"/>
                    <h:outputText value="#{member1Controller.selected.roleID}" title="#{bundle.ViewMember1Title_roleID}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{member1Controller.destroyAndView}" value="#{bundle.ViewMember1DestroyLink}"/>
                <br />
                <br />
                <h:commandLink action="Edit" value="#{bundle.ViewMember1EditLink}"/>
                <br />
                <h:commandLink action="#{member1Controller.prepareCreate}" value="#{bundle.ViewMember1CreateLink}" />
                <br />
                <h:commandLink action="#{member1Controller.prepareList}" value="#{bundle.ViewMember1ShowAllLink}"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.ViewMember1IndexLink}" action="/index" immediate="true" />

            </h:form>
        </ui:define>
    </ui:composition>

</html>
